From 98d2cbcbe7680061d88a737f04892b2857990144 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 29 Jul 2008 13:33:07 +0000 Subject: [PATCH] MSVC maintenance. --- cet.c | 2 +- cet.h | 2 +- msvc/GPSBabel.vcproj | 33 +++++++++++++++++++++------------ 3 files changed, 23 insertions(+), 14 deletions(-) diff --git a/cet.c b/cet.c index 5dc805294..e4586249f 100644 --- a/cet.c +++ b/cet.c @@ -270,7 +270,7 @@ cet_utf8_to_char(const char *str, const cet_cs_vec_t *vec, /* out */ int *bytes, * * Returns the number of valid (visible) characters. */ -int +unsigned int cet_utf8_strlen(const char *str) { if (str) { diff --git a/cet.h b/cet.h index aabec07b2..84099e589 100644 --- a/cet.h +++ b/cet.h @@ -70,7 +70,7 @@ char *cet_str_uni_to_utf8(const short *src, const int length); /* UTF-8 string manipulation functions */ -int cet_utf8_strlen(const char *str); +unsigned int cet_utf8_strlen(const char *str); char *cet_utf8_strdup(const char *str); char *cet_utf8_strndup(const char *str, const int maxlen); diff --git a/msvc/GPSBabel.vcproj b/msvc/GPSBabel.vcproj index 07ed76bd6..32e4e3939 100644 --- a/msvc/GPSBabel.vcproj +++ b/msvc/GPSBabel.vcproj @@ -504,10 +504,6 @@ /> - - @@ -548,6 +544,10 @@ RelativePath="..\destinator.c" > + + @@ -716,6 +716,10 @@ /> + + @@ -876,6 +880,10 @@ RelativePath="..\google.c" > + + @@ -2436,10 +2444,6 @@ RelativePath="..\vcf.c" > - - @@ -2476,6 +2480,10 @@ /> + + @@ -3154,15 +3162,15 @@ > + RelativePath="..\uuid.h" + >